import Vue from 'vue'
import Router from 'vue-router'
import home from '@/tabbar/home.vue'
import member from '@/tabbar/mebber'
import shoppingCar from '@/tabbar/shoppingCar'
import search from '@/tabbar/search'
import newList from '@/newList/newList'
import newsInfo from '@/newList/newsInfo'

Vue.use(Router)
export default new Router({
  linkActiveClass:'mui-active',
  routes: [
    {
      path: '/home',
      name: 'home',
      component: home
    },{
      path: '/member',
      name: 'member',
      component: member
    },{
      path: '/shoppingCar',
      name: 'shoppingCar',
      component: shoppingCar
    },{
      path: '/search',
      name: 'search',
      component:search
    },{
      path: '/newList',
      name: 'newList',
      component:newList
    },{
      path:'/newsInfo',
      name:'newsInfo',
      component:newsInfo

    }
  ]
})
